﻿using System.Text.Json;
using System.Text.Json.Serialization;
using DimensionsHelper.CommandLine.PreTableRender;

namespace DimensionsHelper.CommandLine;

[JsonSourceGenerationOptions(
    ReadCommentHandling = JsonCommentHandling.Skip,
    WriteIndented = true, 
    IgnoreReadOnlyFields = true,
    PropertyNameCaseInsensitive = true,
    PropertyNamingPolicy = JsonKnownNamingPolicy.CamelCase,
    NumberHandling = JsonNumberHandling.AllowNamedFloatingPointLiterals)]
[JsonSerializable(typeof(PreTableOptions))]
public partial class CommandLineJsonContext : JsonSerializerContext
{
}